package com.zerox.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import javax.xml.crypto.Data;

public class SysUser {
    private int user_id;
    private int dept_id;

    private String login_name;

    private String user_name;

    private String user_type;
    private String email;
    private String phonenumber;
    private String sex;
    private String avatar;
    private String password;
    private String salt;
    private int status;
    private String del_flag;
    private String login_ip;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Data login_date;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Data pwd_update_date;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String create_time;
    private String update_by;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Data update_time;
    private String remark;

    public SysUser() {
    }

    public SysUser(int user_id, int dept_id, String login_name, String user_name, String user_type,
                   String email, String phonenumber, String sex, String avatar, String password,
                   String salt, int status, String del_flag, String login_ip, Data login_date,
                   Data pwd_update_date,
                   String create_time, String update_by, Data update_time, String remark) {
        this.user_id = user_id;
        this.dept_id = dept_id;
        this.login_name = login_name;
        this.user_name = user_name;
        this.user_type = user_type;
        this.email = email;
        this.phonenumber = phonenumber;
        this.sex = sex;
        this.avatar = avatar;
        this.password = password;
        this.salt = salt;
        this.status = status;
        this.del_flag = del_flag;
        this.login_ip = login_ip;
        this.login_date = login_date;
        this.pwd_update_date = pwd_update_date;
        this.create_time = create_time;
        this.update_by = update_by;
        this.update_time = update_time;
        this.remark = remark;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getDept_id() {
        return dept_id;
    }

    public void setDept_id(int dept_id) {
        this.dept_id = dept_id;
    }

    public String getLogin_name() {
        return login_name;
    }

    public void setLogin_name(String login_name) {
        this.login_name = login_name;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getUser_type() {
        return user_type;
    }

    public void setUser_type(String user_type) {
        this.user_type = user_type;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getDel_flag() {
        return del_flag;
    }

    public void setDel_flag(String del_flag) {
        this.del_flag = del_flag;
    }

    public String getLogin_ip() {
        return login_ip;
    }

    public void setLogin_ip(String login_ip) {
        this.login_ip = login_ip;
    }

    public Data getLogin_date() {
        return login_date;
    }

    public void setLogin_date(Data login_date) {
        this.login_date = login_date;
    }

    public Data getPwd_update_date() {
        return pwd_update_date;
    }

    public void setPwd_update_date(Data pwd_update_date) {
        this.pwd_update_date = pwd_update_date;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_by() {
        return update_by;
    }

    public void setUpdate_by(String update_by) {
        this.update_by = update_by;
    }

    public Data getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Data update_time) {
        this.update_time = update_time;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
